package com.example;

public class HomeController {
  public Object index() {
    return new Model("john");
  }

  public static class Model {
    private final String name;

    private Model(String username) {
      this.name = username;
    }

    public String getName() {
      return name;
    }
  }
}
